<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻</title>
<style type="text/css">
#div_news {
	text-align: left;
	vertical-align: middle;
	margin: 0px auto;
	padding: 0px;
	width: 70%;
}
</style>
</head>
{% include 'menu.html' %}
<body>
<div class="container">
	{% if not empty %}
        {% for news in news_all %}
            <li><a href="/news/{{news.id}}">{{ news.title }}</a></li>
        {% endfor %}
		{% include 'page.html' %}
    {% else %}
    	<h2>管理员太懒了，没有抓取新闻~~~~(>_<)~~~~ </h2>
    {% endif %}
</div>
</body>
{% include 'tail.html' %}
</html>
